﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WS.EKA.FJYCM.Business.DAL
{
    public class DBFactory
    {
        static readonly IDB PDB = new OracleDBHelper(Config.PConnection);

        static readonly IDB ARDB = new OracleDBHelper(Config.ARConnection);

        static DBFactory()
        { }

        public static IDB CreatePDB()
        {
            return PDB;
        }

        public static IDB CreateARDB()
        {
            return ARDB;
        }
    }
}
